package com.qys.livesMall.file.server.upload.service.impl.local.proper;

import com.aliyun.oss.OSSClientBuilder;
import jakarta.annotation.PostConstruct;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Created by IntelliJ IDEA.
 * User: dp
 * Date: 2023/05/19
 * Time: 14:08
 * DESCRIPTION: 配置文件信息
 */
@Data
@Component
public class LocalStorageProperties {

    @Value("${upload.local.localFilePath}")
    private String filePath = "";

    public static String localFilePath;

    @PostConstruct
    public void init() {
        localFilePath = this.filePath;
    }
}
